# GovernmentSanctioned/Makefile
# $Id$

LANG_DIR	= lang
COMP_DIR = compression
MAP_DIR = map

MAKE = make
CC = gcc

SUBDIRS = $(LANG_DIR) $(COMP_DIR) $(MAP_DIR)

lang:
	@cd $(LANG_DIR) && $(MAKE) all

compression:
	@cd $(COMP_DIR) && $(MAKE) all
	
map:
	@cd $(MAP_DIR) && $(MAKE) all
	
	
all: 
	@echo
	@echo "##############################################"
	@echo "###          BUILDING ALL TARGETS          ###"
	@echo "##############################################"
	@echo
	for i in $(SUBDIRS) ; do \
	( cd $$i ; make ) ; \
	done
	
tree:
	@tree
	
	
docs:
	doxygen .doxygen

clean:
	for i in $(SUBDIRS) ; do \
	( cd $$i ; make clean ) ; \
	done
	

.PHONY: all clean lib server cli tree
